<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ page import="br.com.seuimovelnamao.Util"%>

<%
request.setAttribute("semmapa", 1);
String more = "<script src=\"/js/jquery.maskedinput.min.js\"></script>" +
		"<script src=\"/js/jquery.livequery.js\"></script>" +
		"<script src=\"/js/jquery.numeric.js\"></script>" +
		"<script src=\"/js/jquery.price_format.1.3.js\"></script>";
request.setAttribute("more", more);
%>

<c:import url="/views/includes/header.jsp" />

<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?key=<%=Util.GOOGLE_MAPS_KEY %>&sensor=false"></script>
<script type="text/javascript">
  var script = '<script type="text/javascript" src="http://google-maps-' +
      'utility-library-v3.googlecode.com/svn/trunk/infobubble/src/infobubble';
  if (document.location.search.indexOf('compiled') !== -1) {
    script += '-compiled'; 
  }
  script += '.js"><' + '/script>';
  document.write(script);
</script>
<script type="text/javascript">
var map;
var marker;

var mapOptions = {
	center : new google.maps.LatLng(-14.604847, -47.197266),
	zoom : 3,
	panControl : false,
	zoomControl : true,
	mapTypeControl : false,
	scaleControl : false,
	streetViewControl : true,
	overviewMapControl : false,
	mapTypeId : google.maps.MapTypeId.ROADMAP
};

$(document).ready(function() {
	map = new google.maps.Map(document.getElementById("map"), mapOptions);
	
});

</script>

<div class="container">
	<div class="content">
		<div style="border-top: #ccc solid 1px" id="divtop">
			<form action="anunciarImovel" method="post"
				class="formulario-arredondado cadastro"
				onSubmit="return corrigirFormatoPreco()" id="form">
				<div id="step1" class="step">
				
					<c:import url="/views/includes/cadastro-imovel.jsp" />
					
					<input type="button" onclick="validaCriacaoImovelUsuarioCadastrado()" value="Anunciar" />
				</div>

			</form>
		</div>

		<c:import url="/views/includes/footer.jsp" />